package com.liang.design.pay.channel;

import com.liang.design.pay.model.IPayMode;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.math.BigDecimal;

/**
 * @author lsm
 * @ClassName Pay.java
 * @Description TODO
 * @createTime 2023年12月04日 19:48:00
 */
public abstract class Pay {

    protected Logger logger = LoggerFactory.getLogger(Pay.class);

    //桥
    protected IPayMode payMode;
    public Pay(IPayMode payMode) {
        this.payMode = payMode;
    }
    public abstract String transfer(String uId, String tradeId, BigDecimal
            amount);
}
